<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>后台管理</title>
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/layui/css/layui.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/admin.css" />
<style>
.layui-form-label {
	width: 100px;
}
.layui-input-block {
	margin-left: 130px;
}
.layui-input-inline{ margin-top:10px;}
</style>
</head>
<body>
<div class="wrap-container" style="padding:20px;">
  <form class="layui-form edit-form" method="post" action="{:url()}" style="width: 90%;padding-top: 20px;">
    <div class="layui-form-item">
      <div class="layui-input-inline"> <a href="{:url('all')}" target="make_html" class="layui-btn" >生成所有</a> </div>
	  <div class="layui-input-inline"> <a href="{:url('Make/index')}" target="make_html" class="layui-btn" >生成首页</a> </div>
      <div class="layui-input-inline"> <a href="{:url('lists')}" target="make_html" class="layui-btn" >生成栏目</a> </div>
	  <div class="layui-input-inline"> <a href="{:url('view')}" target="make_html" class="layui-btn" >生成内容</a> </div>
    </div>
  </form>
  
  <div style="border:#999 1px solid"><iframe name="make_html" width="100%" height="200" frameborder="0"></iframe></div>
</div>
<script src="__STATIC__/js/jquery.min.js" type="text/javascript" charset="utf-8"></script> 
<script src="__STATIC__/admin/layui/layui.js" type="text/javascript" charset="utf-8"></script> 
<script src="__STATIC__/js/common.js" type="text/javascript" charset="utf-8"></script> 
<script>
//Demo
layui.use(['form','jquery','layer'], function() {
	var form = layui.form();
	var layer = layui.layer;
	form.render();
	//监听提交
	form.on('submit(formDemo)', function(data) {
		//layer.msg(JSON.stringify(data.field));
		ajax_post('edit-form',false,'','');
	});
	
});
</script>
</body>
</html>